package com.usefullc.user.service;

import com.usefullc.system.query.BaseQuery;
import com.usefullc.system.service.AbstractBizService;
import com.usefullc.user.dao.PositionDao;
import com.usefullc.user.domain.Position;
import com.usefullc.user.query.PositionQuery;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;
import java.util.ArrayList;
import java.util.List;

/**
 * @author: Sampson
 * @date: 2022-01-09 09:58
 */
@Service
public class PositionService extends AbstractBizService<Position,PositionQuery> {

    @Autowired
    private PositionDao positionDao;

    @Override
    public List<Predicate> getPredicates(Root<Position> root, CriteriaQuery<?> query, CriteriaBuilder criteriaBuilder, PositionQuery thisQuery) {
        List<Predicate> predicates = new ArrayList<>();

        return predicates;

    }




}
